package com.hyt.it.ogt.kq.service.gov.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @PACKAGE_NAME: com.hyt.it.ogt.kq.service.gov.model.dto
 * @USER: Wuyingge
 * @DATE: 2023/8/2 11:48
 * @PROJECT_NAME: it-ogt-kq
 * @Desc : 查询批次下的科目信息入参
 **/
@Data
@Accessors(chain = true)
@ApiModel(value = "TaskTimeSubjectArrangeDTO", description = "查询批次下的科目信息入参")
public class TaskTimeSubjectArrangeDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "任务id")
    @NotNull(message = "考试任务id不能为空")
    private String taskId;

    @ApiModelProperty(value = "批次id")
    @NotNull(message = "考试批次id不能为空")
    private String timeId;

    @ApiModelProperty(value = "机构id")
    private String officeId;

    @ApiModelProperty(value = "部门id")
    private String deptId;

    @ApiModelProperty(value = "搜索关键字")
    private String keyWord;

    @ApiModelProperty(value = "搜索类型 1：已选 2：未选",hidden = true)
    //@JsonProperty(access = JsonProperty.Access.READ_ONLY)
    //@NotNull(message = "查询类型不能为空")
    private String queryType = "1";
}
